<!--Kan man få in nya cssar här kanske????
	<link href="http://intra.vgregion.se/upload/styles/standardIntranet.css" type="text/css" rel="stylesheet">
	<link href="http://intra.vgregion.se/upload/styles/standardColorsIntranet.css" type="text/css" rel="stylesheet"/>
	<link media="print" href="http://intra.vgregion.se/styles/printCSS.css" type="text/css" rel="stylesheet">
-->
<#if showDescription=true>
	<p><i>${savedSearch.properties["vgr:listDescription"]}</i></p>
</#if>
<table xmlns:xalan="http://xml.apache.org/xslt">
	<#if showDescSort=true >
		<#assign nodes = nodes?sort_by(['properties', showSortBy])?reverse>
	<#else>
		<#assign nodes = nodes?sort_by(['properties', showSortBy])>
	</#if>
	
	<#list nodes as child>
    	<tr>
			<#if showIcon>
			<td valign="bottom">
				<a href="/alfresco/service/vgr/profile/${child.properties["sys:node-dbid"]?c}" target="_blank">
					<img alt="Visa dokumentegenskaper" title="Visa dokumentegenskaper" height="16" width="16" src="/alfresco/images/icons/popup.gif" border="0"/>
				</a>
			</td>
			</#if>
			
			<td valign="bottom">
				<a href="/alfresco${child.url}?guest=true" target="_blank">
					<#if child.properties["vgr:docTitle"]?exists >
						${child.properties["vgr:docTitle"]}
					<#else>
						Ingen dokumenttitel
					</#if>
				</a>
			</td>
				
			<#if showDocType >
			<td valign="bottom">
				<#if child.properties["vgr:docType"]?exists >
					${child.properties["vgr:docType"]}
				<#else>
					&nbsp;
				</#if>
			</td>
			</#if>
			
			<#if showVersion>
			<td valign="bottom">
				<#if child.properties["vgr:oldVersion"]?exists >
					ver ${child.properties["vgr:oldVersion"]}
				<#else>
					ver ${child.properties["cm:versionLabel"]}
				</#if>
			</td>
			</#if>

			<#if showPublishedAt>
			<td valign="bottom">
				<#if child.properties["vgr:publishedAt"]?exists >
					${child.properties["vgr:publishedAt"]?string("yyyy-MM-dd")}
				<#else>
					&nbsp;
				</#if> 
			</td>
			</#if>

			<#if showCreatedByAuthor>
			<td valign="bottom">
				<#if child.properties["vgr:createdByAuthor"]?exists >
					${child.properties["vgr:createdByAuthor"]}
				<#else>
					&nbsp;
				</#if> 
			</td>
			</#if>
			
			<#if showResponsibleName>
			<td valign="bottom">
				<#if child.properties["vgr:responsibleName"]?exists >
					${child.properties["vgr:responsibleName"]}
				<#else>
					&nbsp;
				</#if> 
			</td>
			</#if>

			<#if showDocId >
			<td valign="bottom">
				<#if child.properties["vgr:docId"]?exists >
					${child.properties["vgr:docId"]}
				<#else>
					&nbsp;
				</#if> 
			</td>
			</#if>
		</tr>
	</#list>
</table>
